import request from '@/utils/request'

export function GetUserSearchtAPI(params) { // 获取人员列表
  return request({
    url: '/user-service/user/search',
    method: 'GET',
    params
  })
}

export function GetRoleAPI(params) { // 获取人员列表
  return request({
    url: '/user-service/role',
    method: 'GET',
    params
  })
}

export function GetregionListAPI(params) { // 获取人员列表
  return request({
    url: '/vm-service/region/search',
    method: 'GET',
    params
  })
}

export function updateUserAPI(id, data) { // 获取人员列表
  return request({
    url: '/user-service/user/' + id,
    method: 'PUT',
    data
  })
}

